# coding:utf-8

from ConfigParser import ConfigParser
from Setting import CONFIG_FILE


class SimpleConfigParser(ConfigParser):
    def get(self, section, key, default=None):
        try:
            ret = ConfigParser.get(self, section, key)
        except:
            ret = default
        return ret


config_reader = SimpleConfigParser()
config_reader.read(CONFIG_FILE)
